//package com.supermap.business.controller;
//
//import com.alibaba.fastjson.JSON;
//import com.supermap.business.service.TestDubboConsumerService;
//import com.supermap.shiro.common.AuthFactory;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.ResponseBody;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
//
//
///**
// * @author xiaolu
// * @date 2018/6/28 下午4:17
// */
//@RestController
//public class HomeController {
//
//    @Resource
//    TestDubboConsumerService dubboConsumerService;
//
//    @RequestMapping(value = "home")
//    @ResponseBody
//    public String home() {
//        String result = JSON.toJSONString(AuthFactory.getLoginUser());
//        return result + "\n" + dubboConsumerService.testApi();
//    }
//    }
//
//
